package vip.xiaonuo.smzq.modular.kcl.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import vip.xiaonuo.smzq.modular.kcl.entity.Kcp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 矿产品 Mapper
 *
 * @author eomer
 * @since 2024-02-22
 */
@Mapper
public interface KcpMapper extends BaseMapper<Kcp> {
    @Select("${sql}")
    List<Map> selectAll(@Param(value = "sql")String sql);
@Select("select column_name from information_schema.columns  where table_name=#{tableName}")
    List<String> selectColumnNames(String tableName);
}
